<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui">

<h:body>
	<h1>Hello #{UserBean.name}</h1>
	<h:form>	
		<p:commandButton action="#{logoutBean.logout}" value="Logout" />
	</h:form>
	
	<h:link outcome="/admin/addEmploy" value="Aggiungi Impiegato"></h:link><br />
	<h:link outcome="/admin/creaTipo" value="Aggiungi un nuovo tipo di trasporto"></h:link><br />
	<h:link outcome="/employ/gestisciComponenti" value="Gestisci Componenti" /> <br />
        <h:link outcome="/employ/gestisciPacchetti" value="Gestisci Pacchetti" /> <br />
 		
		
        <h:link outcome="/employ/AddPacchetto" value="Crea un Pacchetto"></h:link><br />
        <h:link outcome="/employ/tmp_ritornaPacchetto" value="Modifica un Pacchetto"></h:link><br />
			<br /><h:link outcome="/share/BrowserPage" value="Naviga" /> <br />
	

		
</h:body>
</html>